const state = {
  // 正在编辑的实体对象
  editingEntity: {
    entity: null,
    isEditing: false
  }
}

const mutations = {
  SET_EditingEntity: (state, e) => {
    state.editingEntity = e
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
